

var NG_main = new function () {

	this.cleanup = function()
	{
	}

	this.init = function() 
	{
		initializeContextMenu();
	}
	
	//private functions
	
	function initializeContextMenu() {
		var contextMenu = document.getElementById("contentAreaContextMenu");
		contextMenu.addEventListener("popupshowing", NG_display.refreshPopupMenuItems, true);
		contextMenu.appendChild(document.createElement("menuseparator"));
		var reportErrorMenuItem = document.getElementById("ng-submit-error");
		reportErrorMenuItem.hidden = false;
		contextMenu.appendChild(reportErrorMenuItem);
	}


}